import http from '@/utils/http'

export const paymentbillList = (params) => {
  const url = '/fund-management/paymentbill-management/selectPaymentBillPage'
  return http.post(url, params)
}

export const selectChargeOrderDetail = (params) => {
  const url = '/fund-management/paymentbill-management/detail/selectById'
  return http.post(url, params)
}

export const exportTransationList = (params) => {
  const url = '/fund-management/paymentbill-management/exportPage'
  return http.post(url, params)
}

export const exportWeiXinBillExcel = (params) => {
  const url = '/fund-management/WeiXinBill-management/outWeiXinBillExcel'
  return http.get({
    url: url,
    params: params,
    responseType: 'blob',
  })
}

export const selectPaymentBillErrorLog = (params) => {
  const url =
    '/fund-management/paymentbillErrorLog-management/selectPaymentBillErrorLog'
  return http.post(url, params)
}
